﻿using System.Collections.Generic;

namespace Infrastructure.ExternalService.Core.Requests
{
    /// <summary>
    /// 产品及赠品关系请求参数
    /// </summary>
    public class ProductGiveawayRelationRequest
    {
        public List<Product> Products { get; set; }
    }

    /// <summary>
    /// 产品
    /// </summary>
    public class Product
    {
        /// <summary>
        ///  产品SKU
        /// </summary>
        public string ProductSku { get; set; }

        /// <summary>
        /// 赠品
        /// </summary>
        public List<Giveaway> Giveaways { get; set; }
    }

    /// <summary>
    /// 赠品
    /// </summary>
    public class Giveaway
    {
        /// <summary>
        /// 产品SKU
        /// </summary>
        public string ProductSku { get; set; }
    }
}